package com.dylan.channel.v6.channel;

import java.nio.channels.SelectableChannel;

public abstract class AbstractNioByteChannel extends AbstractNioChannel {


    protected AbstractNioByteChannel(Channel parent, SelectableChannel ch) {
        super(parent, ch);
    }

    @Override
    protected AbstractNioChannel.AbstractNioUnsafe newUnsafe() {
        return new NioByteUnsafe();
    }

    @Override
    void read() {

    }

    protected class NioByteUnsafe extends AbstractNioChannel.AbstractNioUnsafe{

        @Override
        public SelectableChannel ch() {
            return null;
        }

        @Override
        public void read() {

        }
    }
}
